package com.etool.modules.auth.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate;
import org.springframework.stereotype.Component;

import com.cache.simplecache.SimpleCacheManager;
import com.etool.commons.dao.DaoBase;
import com.etool.modules.auth.model.AuthWorker;

@Component
public class AuthWorkerService extends DaoBase<AuthWorker>{

	public AuthWorkerService()
	{
		tableName="auth_worker";
	}
		
	@Autowired
	public void setSimpleCacheManager(@Qualifier("simpleCacheManager")SimpleCacheManager simpleCacheManager) {
		this.simpleCacheManager=simpleCacheManager;
	}

	@Autowired
	public void setJdbc(@Qualifier("jdbc")NamedParameterJdbcTemplate jdbc) {
		this.jdbc=jdbc;
	}


}
